package net.pws.oos.biz.model;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

@MappedSuperclass
public abstract class Locatable extends Identifier {

	private static final long serialVersionUID = -8625285202083225972L;

	@Column(name = "plan_longitude")
	private BigDecimal planLongitude;

	@Column(name = "plan_latitude")
	private BigDecimal planLatitude;
	
	@Column(name = "plan_location_provice")
	private String planLocationProvice;

	@Column(name = "plan_location_city")
	private String planLocationCity;

	@Column(name = "plan_location_county")
	private String planLocationCounty;
	
	@Column(name = "plan_location_street")
	private String planLocationStreet;
	
	@Column(name = "plan_location_number")
	private String planLocationNumber;

	@Column(name = "plan_location_address")
	private String planLocationAddress;
	
	/**
	 * 经度
	 */
	@Column(name = "real_longitude")
	private BigDecimal longitude;

	/**
	 * 纬度
	 */
	@Column(name = "real_laitude")
	private BigDecimal latitude;
	
	@Column(name = "locate_date")
	private Date locateDate;

	@Column(name = "location_provice")
	private String locationProvice;

	@Column(name = "location_city")
	private String locationCity;

	@Column(name = "location_county")
	private String locationCounty;
	
	@Column(name = "location_street")
	private String locationStreet;
	
	@Column(name = "location_number")
	private String locationNumber;

	@Column(name = "location_address")
	private String locationAddress;

	public BigDecimal getPlanLongitude() {
		return planLongitude;
	}

	public void setPlanLongitude(BigDecimal planLongitude) {
		this.planLongitude = planLongitude;
	}

	public BigDecimal getPlanLatitude() {
		return planLatitude;
	}

	public void setPlanLatitude(BigDecimal planLatitude) {
		this.planLatitude = planLatitude;
	}

	public BigDecimal getLongitude() {
		return longitude;
	}

	public void setLongitude(BigDecimal longitude) {
		this.longitude = longitude;
	}

	public BigDecimal getLatitude() {
		return latitude;
	}

	public void setLatitude(BigDecimal latitude) {
		this.latitude = latitude;
	}

	public Date getLocateDate() {
		return locateDate;
	}

	public void setLocateDate(Date locateDate) {
		this.locateDate = locateDate;
	}

	public String getLocationProvice() {
		return locationProvice;
	}

	public void setLocationProvice(String locationProvice) {
		this.locationProvice = locationProvice;
	}

	public String getLocationCity() {
		return locationCity;
	}

	public void setLocationCity(String locationCity) {
		this.locationCity = locationCity;
	}

	public String getLocationCounty() {
		return locationCounty;
	}

	public void setLocationCounty(String locationCounty) {
		this.locationCounty = locationCounty;
	}

	public String getLocationStreet() {
		return locationStreet;
	}

	public void setLocationStreet(String locationStreet) {
		this.locationStreet = locationStreet;
	}

	public String getLocationNumber() {
		return locationNumber;
	}

	public void setLocationNumber(String locationNumber) {
		this.locationNumber = locationNumber;
	}

	public String getLocationAddress() {
		return locationAddress;
	}

	public void setLocationAddress(String locationAddress) {
		this.locationAddress = locationAddress;
	}

	public String getPlanLocationAddress() {
		return planLocationAddress;
	}

	public void setPlanLocationAddress(String planLocationAddress) {
		this.planLocationAddress = planLocationAddress;
	}

	public String getPlanLocationProvice() {
		return planLocationProvice;
	}

	public void setPlanLocationProvice(String planLocationProvice) {
		this.planLocationProvice = planLocationProvice;
	}

	public String getPlanLocationCity() {
		return planLocationCity;
	}

	public void setPlanLocationCity(String planLocationCity) {
		this.planLocationCity = planLocationCity;
	}

	public String getPlanLocationCounty() {
		return planLocationCounty;
	}

	public void setPlanLocationCounty(String planLocationCounty) {
		this.planLocationCounty = planLocationCounty;
	}

	public String getPlanLocationStreet() {
		return planLocationStreet;
	}

	public void setPlanLocationStreet(String planLocationStreet) {
		this.planLocationStreet = planLocationStreet;
	}

	public String getPlanLocationNumber() {
		return planLocationNumber;
	}

	public void setPlanLocationNumber(String planLocationNumber) {
		this.planLocationNumber = planLocationNumber;
	}

}
